package net.crowdloud.client.groups;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.RootPanel;



/** 
 * 
 * 
 * @UserManual 
 */
public class ButtonGroups extends Button {

	public ButtonGroups() {

		this.setText("Groups");

		this.addClickHandler(new ClickHandler() {

			@Override
			public void onClick(ClickEvent event) {

				RootPanel.get().clear();
				RootPanel.get().add(new GroupsForm());
			}
		});
	}
}
